import QtQuick 1.0

QMLTwitterBase{
    id: _root

    //////////////////////////////////////////////////////////
    // properties


    //////////////////////////////////////////////////////////
    // changed


    //////////////////////////////////////////////////////////
    // signals

    signal responseListsStatuses(string text)
    signal responseLists(string text)
    signal responseListsSubscriptions(string text)

    //////////////////////////////////////////////////////////
    // methods

    function listsAll(){

    }

    function listsStatuses(list_id, slug, owner_screen_name, owner_id
                           , since_id, max_id, per_page, page
                           , include_entities, include_rts){
        var content = {};
        if(!isNullOrEmpty(list_id)){
            content.list_id = list_id;
        }
        if(!isNullOrEmpty(slug)){
            content.slug = slug;
        }
        if(!isNullOrEmpty(owner_screen_name)){
            content.owner_screen_name = owner_screen_name;
        }
        if(!isNullOrEmpty(owner_id)){
            content.owner_id = owner_id;
        }
        if(!isNullOrEmpty(since_id)){
            content.since_id = since_id;
        }
        if(!isNullOrEmpty(max_id)){
            content.max_id = max_id;
        }
        if(!isNullOrEmpty(per_page)){
            content.per_page = per_page;
        }
        if(!isNullOrEmpty(page)){
            content.page = page;
        }
        if(!isNullOrEmpty(include_entities)){
            content.include_entities = include_entities;
        }
        if(!isNullOrEmpty(include_rts)){
            content.include_rts = include_rts;
        }
        requestAPI("GET", "URL_LISTS_STATUES"
                   , content, responseListsStatuses);
    }

    function listsMembersDestroy(){

    }

    function listsMemberships(){

    }

    function listsSubscribers(){

    }

    function listsSubscribersCreate(){

    }

    function listsSubScribersShow(){

    }

    function listsSubscribersDestory(){

    }

    function listsMembersCreateAll(){

    }

    function listsMembersShow(){

    }

    function listsMembers(){

    }

    function listsMembersCreate(){

    }

    function listsDestory(){

    }

    function listsUpdate(){

    }

    function listsCreate(){

    }

    function lists(user_id, screen_name, cursor){
        var content = {};
        if(!isNullOrEmpty(user_id)){
            content.user_id = user_id;
        }
        if(!isNullOrEmpty(screen_name)){
            content.screen_name = screen_name;
        }
        if(!isNullOrEmpty(cursor)){
            content.cursor = cursor;
        }
        requestAPI("GET", "URL_LISTS"
                   , content, responseLists);
    }

    function listsShow(){

    }

    function listsSubscriptions(user_id, screen_name, count, cursor){
        var content = {};
        if(!isNullOrEmpty(user_id)){
            content.user_id = user_id;
        }
        if(!isNullOrEmpty(screen_name)){
            content.screen_name = screen_name;
        }
        if(!isNullOrEmpty(count)){
            content.count = count;
        }
        if(!isNullOrEmpty(cursor)){
            content.cursor = cursor;
        }
        requestAPI("GET", "URL_LISTS_SUBSCRIPTIONS"
                   , content, responseListsSubscriptions);
    }
}
